package com.yjpark.protocols;

import com.yjpark.apps.netcalc.*;

import java.net.Socket;

import android.app.Application;

public class UserApplication extends Application {
	private static String id;
	private static String passwd;
	private static String loginSession;
		
	private static Socket socket;
	
	
	public static Socket getSocket() {
		return socket;
	}

	public static void setSocket(Socket socket) {
		UserApplication.socket = socket;
	}

	private static CalculateNetwork CalculateNetwork;

	public static String getId() {
		return id;
	}

	public static void setId(String id) {
		UserApplication.id = id;
	}

	public static String getPasswd() {
		return passwd;
	}

	public static void setPasswd(String passwd) {
		UserApplication.passwd = passwd;
	}

	public static String getLoginSession() {
		return loginSession;
	}

	public static void setLoginSession(String loginSession) {
		UserApplication.loginSession = loginSession;
	}

	public static CalculateNetwork getCalculateNetwork() {
		return CalculateNetwork;
	}

	public static void setCalculateNetwork(CalculateNetwork CalculateNetwork) {
		UserApplication.CalculateNetwork = CalculateNetwork;
	}
	
	
	
}
